//@author A0105735J
#include "CommandInvalid.h"

CommandInvalid::CommandInvalid(void){
	type = CommandTypeInvalid;
}

CommandInvalid::~CommandInvalid(void){}

Feedback CommandInvalid::execute(Receiver* receiver){
	Logger::instance()->LogMessage("the user input is invalid, which cause Invalid Command");	
	return receiver->invalidCommand(getMessage());
}